package oop2.anmal;

import java.util.Scanner;

public class GoodTest {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		// int x=s.nex
		Dog d = new Dog("哮天犬");
		GoodKindMan man = new GoodKindMan("雷锋");
		d.bite(man);

		Dog d2 = new Dog("大黄");
		d2.bite(d);
		d.bite(d2);
		Hedgehog hg = new Hedgehog("史莱克");
		d.bite(hg);
	}

}
